<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
<title>monitor</title>
<meta name="viewport"
	content="user-scalable=no, width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="static/css/bootstrap.min.css" />
<link rel="stylesheet" href="static/css/bootstrap-theme.min.css" />
<link rel="stylesheet" href="static/css/bootstrap-table.min.css" />
<script type="text/javascript" src="static/js/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="static/js/bootstrap.min.js"></script>
<script type="text/javascript" src="static/js/common.js"></script>
<script type="text/javascript" src="static/js/bootstrap-table.min.js"></script>
<style type="text/css">
	.toptips {
    left: 0;
    overflow-wrap: break-word;
    padding: 5px;
    position: fixed;
    right: 0;
    text-align: center;
    top: 0;
    transform: translateZ(0px);
    word-break: break-all;
    z-index: 5000;
}
</style>
<script type="text/javascript">
	$(function() {

		$('#consumerReload').click(function() {
			showAllConsumers();
		});
		$('#providerReload').click(function() {
			showAllProviders();
		});
		setInterval(function(){
			showAllConsumers();
			showAllProviders();
			print('已重新加载')
		},30000);
	});
</script>
</head>

<body>
	<div class="alert alert-success toptips" role="alert" id="js_tooltips"  style="display:none;z-index:100;">信息展示窗口</div>
	<ul class="nav nav-tabs" role="tablist">
		<li role="presentation" class="active" index="1"><a href="#">conumers</a></li>
		<li role="presentation" index="2"><a href="#">providers</a></li>
	</ul>
	<div class="panel panel-default" id="p1">
		<div class="panel-body">
			<div id="c_toolbar">
				<button type="button" class="btn btn-default" id="consumerReload">重新加载</button>
			</div>
			<table id="ctable">
			</table>
			
		</div>
	</div>
	<div class="panel panel-default" id="p2" style="display: none;">
		<div class="panel-body">
			<div id="p_toolbar">
				<button type="button" class="btn btn-default" id="providerReload">重新加载</button>
			</div>
			<table id="ptable">
			</table>

		</div>
	</div>

</body>
</html>